package com.nifostasky.comic.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component
@Data
public class TokenConfig {
    /**
     * Token在Redis中存储的有效时间(小时)
     */
    @Value(value = "${token.tokenRedisExpireTime}")
    private Integer tokenRedisExpireTime;

    /**
     * Token自身的有效时间(小时)
     */
    @Value(value = "${token.tokenExpireTime}")
    private Integer tokenExpireTime;

}
